<?php
/**
 * @file
 * d2tweb_blog.features.inc
 */

/**
 * Implements hook_views_api().
 */
function d2tweb_blog_views_api($module = NULL, $api = NULL) {
  return array("api" => "3.0");
}

/**
 * Implements hook_image_default_styles().
 */
function d2tweb_blog_image_default_styles() {
  $styles = array();

  // Exported image style: blog_thumb.
  $styles['blog_thumb'] = array(
    'name' => 'blog_thumb',
    'label' => 'Blog thumb (370x260)',
    'effects' => array(
      3 => array(
        'label' => 'Scale and crop',
        'help' => 'Scale and crop will maintain the aspect-ratio of the original image, then crop the larger dimension. This is most useful for creating perfectly square thumbnails without stretching the image.',
        'effect callback' => 'image_scale_and_crop_effect',
        'dimensions callback' => 'image_resize_dimensions',
        'form callback' => 'image_resize_form',
        'summary theme' => 'image_resize_summary',
        'module' => 'image',
        'name' => 'image_scale_and_crop',
        'data' => array(
          'width' => 370,
          'height' => 260,
        ),
        'weight' => 1,
      ),
    ),
  );

  return $styles;
}
